package com.sy.service.Impl;

import com.sy.entity.Demo;
import com.sy.mapper.DemoMapper;
import com.sy.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zbbstart
 * @date 2021/1/12 - 14:54
 */
@Service
public class DemoServiceImpl implements DemoService {
    @Autowired
    private DemoMapper demoMapper;
    @Override
    public List<Demo> getAllTests() {
        return demoMapper.getAllTests();
    }
}
